package demo;

import domain.Coder;
import domain.Manager;

public class Demo4 {
    public static void main(String[] args) {
        Manager manager = new Manager("项目经理",123,15000,6000);
        manager.work();
        Coder coder = new Coder();
        coder.setName("程序员");
        coder.setId(135);
        coder.setSalary(10000);
        coder.work();
    }
}
